﻿// -----------------------------------------------------------------------
// <copyright file="BatchJobData.cs" company="Microsoft">
//  Well, DUH!
// </copyright>
// -----------------------------------------------------------------------

namespace Eeeek
{
    using System;
    using StatePersistence.Interface;

    /// <summary>
    /// Holds data necessary to start a batch job
    /// </summary>
    [Serializable]
    public class BatchJobData : ActionBase, ICanManageThisType
    {
        /// <summary>
        /// Gets or sets the iteration delay.
        /// </summary>
        /// <value>
        /// The iteration delay.
        /// </value>
        public int IterationDelayInSeconds { get; set; }

        /// <summary>
        /// Gets or sets the total iterations.
        /// </summary>
        /// <value>
        /// The total iterations.
        /// </value>
        public int TotalIterations { get; set; }

        /// <summary>
        /// Gets or sets the name of the batch.
        /// </summary>
        /// <value>
        /// The name of the batch.
        /// </value>
        // ReSharper disable UnusedAutoPropertyAccessor.Global required for serialization
        public string Name { get; set; }
        // ReSharper restore UnusedAutoPropertyAccessor.Global
    }
}
